interface discount{
    (price:number):number
}
let cost:discount = function(price:number):number{
    return price * .8;
}